package com.yuxi.service;

import com.yuxi.modelExt.ProductTypeExt;
import com.yuxi.pubInter.IBaseService;
import com.yuxi.searchExt.ProductTypeSearchExt;

import java.util.List;


/**
 * @author sunke
 * @Date 2023-10-13 10:05:04
 * @description ProductTypeService      产品分类
 */
public interface IProductTypeService extends IBaseService<ProductTypeExt, ProductTypeSearchExt, String> {


    List<ProductTypeExt> getProductTypeList(int size);

    List<ProductTypeExt> getTopProductTypeList(int size);
    List<ProductTypeExt> getSubProductTypeList(int size,String upId);

    List<ProductTypeExt> getBrandTypeList(int size);

    List<ProductTypeExt> getTopBrandTypeList(int size);
    List<ProductTypeExt> getSubBrandTypeList(int size,String upId);


    List<ProductTypeExt> getTypeListByTypeFlag(int typeFlag, int size);

    List<ProductTypeExt> getTopTypeListByTypeFlag(int typeFlag, int size);
    List<ProductTypeExt> getSubTypeListByTypeFlag(int typeFlag, int size,String upId);
}